package com.cjh.wechat.websocket.service;

import java.util.List;
import com.cjh.wechat.commom.pojo.User;
import com.cjh.wechat.commom.vo.UserSearchCondition;

public interface UserService
{
    public void insert(User user);
    
    public User findById(String id);
    
    public void updateByPrimaryKeySelective(User user);
    
    public void updateStatusById(String id, String status);
    
    public List<User> search(UserSearchCondition condition, int pageNum, int pageSize);
    
    public int getSearchNum(UserSearchCondition condition);
}
